package com.jcp.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;

import com.jcp.api.Sample;

@Controller
public class TipController {

	@PostMapping(value = "tc", produces = "application/json;charset=utf-8")
	@ResponseBody
	public void selectByCarIn(@RequestParam String base) {
		System.out.println("图片Base64编码 : " + base);
		Sample.scan(base);
	}

}
